package com.ruoyi.system.enums;

import com.ruoyi.common.enums.IBaseEnum;

public enum DocTypeEnum implements IBaseEnum<Integer> {

    WRITINGS(1,"著作"),
    SOFTWARE(2,"软件"),
    REPORT(3,"报告"),
    PRIZE(4,"获奖"),
    PATENT(5,"专利"),
    PAPER(6,"论文"),
    APPRAISAL(7,"鉴定"),
    CONTRACT(8,"合同"),

    ;
    private Integer value;
    private String desp;

    DocTypeEnum(Integer value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
